In this contribution, respect for international humanitarian law among combatants is considered from a social psychological perspective. According to this perspective, the social identities derived by individuals from their membership of social groups provide norms and values used by the individual to interpret events, form opinions and decide upon a course of action. We argue that group identities are particularly salient in combat situations, and that they have a profound influence on combatants' decisions to respect or violate international humanitarian law.